package com.couldsail.takeaway.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User {
    private String id;
    private String openid;
    private String name;
    private String phone;
    private String sex;
    @TableField(value = "id_number")
    private String idNumber;
    private String avatar;
    @TableField(value = "create_time")
    private LocalDateTime createTime;
}
